import styled from "styled-components";
import carBlue from '../../../assets/image/car/carBlue.png'
import cargray from '../../../assets/image/car/carGray.png'

export const EntranceBox = styled.div`
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    .entrance{
        width: 65rem;
        height: 40rem;
        margin-top: 22rem;
        background: linear-gradient(-36deg, #FAFCFF 0%, #EDF3FB 100%);
        box-shadow: 1px 1px 1.3rem 0px rgba(204,204,204,0.35);
        border-radius: 1rem;
        border: 1px solid;
        border-image: linear-gradient(-38deg, #EDF3FB, #FAFCFF) 10 10;
        .head{
            margin-left: 5rem;
            font-size: 2.2rem;
            font-weight: bold;
            color: #2F2F2F;
            margin-top: 5rem;
            display: flex;
            align-items: center;
            //字体间距
            letter-spacing: 0.15rem;
            .home{
                width: 5rem;
                font-size: 3.5rem;
                color: #EC8D13;
            }
        }
        .body{
            padding: 0 3.8rem;
            display: flex;
            align-items: center;
            justify-content: space-around;
            margin-top: 3rem;
            cursor: pointer;
            .body-item{
                width: 13rem;
                height: 13rem;
                background-color: #F1F2F6;
                border-radius: 1rem;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: #B1B3BB;
                .carImg{
                    width: 2.5rem;
                    height: 2.5rem;
                    background: url(${cargray}) no-repeat;
                    background-size: 100% 100%;
                    margin-bottom: 1rem;

                }
                span{
                    font-size: 5.2rem;
                }
                div{
                    font-size: 1.6rem;
                }
            }
            .body-item:hover{
                background: rgba(8,88,202,0.1);
                color: #0859CA;
                border: 1px solid #0859CA;
                .carImg{
                    width: 2.5rem;
                    height: 2.5rem;
                    background: url(${carBlue}) no-repeat;
                    background-size: 100% 100%;
                    margin-bottom: 1rem;
                }
            }
        }
    }
`